package com.rewa.test.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(
        prefix = "swagger"
)
@Data
public class SwaggerProperties {
    private boolean enable = true;
    private String title = "UNKNOW";
    private String description = "当前已禁用在线API文档";
    private String version = "UNKNOW";
    @Value("${swagger.apis.base-package:}")
    private String basePackage;
    private boolean authable = true;
    private String authHeadParaName = "token";
}
